import request from '@/utils/request'

// 查询司机坐标记录列表
export function listApplvDriverLocation(query) {
  return request({
    url: '/system/applvDriverLocation/list',
    method: 'get',
    params: query
  })
}

// 查询司机坐标记录详细
export function getApplvDriverLocation(id) {
  return request({
    url: '/system/applvDriverLocation/' + id,
    method: 'get'
  })
}

// 新增司机坐标记录
export function addApplvDriverLocation(data) {
  return request({
    url: '/system/applvDriverLocation',
    method: 'post',
    data: data
  })
}

// 修改司机坐标记录
export function updateApplvDriverLocation(data) {
  return request({
    url: '/system/applvDriverLocation',
    method: 'put',
    data: data
  })
}

// 删除司机坐标记录
export function delApplvDriverLocation(id) {
  return request({
    url: '/system/applvDriverLocation/' + id,
    method: 'delete'
  })
}

// 导出司机坐标记录
export function exportApplvDriverLocation(query) {
  return request({
    url: '/system/applvDriverLocation/export',
    method: 'get',
    params: query
  })
}